/**
 * <pre>
 * Title: 		ResponseCode.java
 * Author:		Richard
 * Create:	 	2013-7-25 下午06:30:31
 * Copyright: 	Copyright (c) 2013
 * Company:		Shenzhen Helper
 * <pre>
 */
package com.hengpeng.msls.port.client.vo;

/**
 * <pre>
 * 消息响应码
 * </pre>
 * @author Richard
 * @version 1.0, 2013-7-25
 */
public enum ResponseCode
{
	SUCCESS("0000", "处理成功"), UNKOWN_ERROR("9999", "未知错误"), WRONG_PARTNER("0010", "不存在的来源"), WRONG_DIGEST("0015", "错误的摘要信息");

	private String code;

	private String message;

	ResponseCode(String code, String message)
	{
		this.code = code;
		this.message = message;
	}

	public String getCode()
	{
		return code;
	}

	public String getMessage()
	{
		return message;
	}
}
